liblucene2-java software package provides Full-text search engine library for Java(TM), you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install liblucene2-java
liblucene2-java is installed in your system.
Make ensure the liblucene2-java package were installed using the commands given below,
$ sudo dpkg-query -l | grep liblucene2-java *
You will get with liblucene2-java package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Text Processing |
| Package | liblucene2-java |
| Version | 2.9.4+ds1-4 |
| Description | Full-text search engine library for Java(TM) |
| Sub Section | Text |